package com.ruoyi.hotel.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 岗位对象 hl_device
 * 
 * @author ruoyi
 * @date 2022-12-10
 */
public class HlPost extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 岗位id */
    private Integer postId;

    /** 岗位名 */
    @Excel(name = "岗位名")
    private String postName;

    /** 岗位底薪 */
    @Excel(name = "岗位底薪")
    private Double postSalary;

    /** 岗位提成 */
    @Excel(name = "岗位提成")
    private Double postRatio;

    public Integer getPostId() {
        return postId;
    }

    public void setPostId(Integer postId) {
        this.postId = postId;
    }

    public String getPostName() {
        return postName;
    }

    public void setPostName(String postName) {
        this.postName = postName;
    }

    public Double getPostSalary() {
        return postSalary;
    }

    public void setPostSalary(Double postSalary) {
        this.postSalary = postSalary;
    }

    public Double getPostRatio() {
        return postRatio;
    }

    public void setPostRatio(Double postRatio) {
        this.postRatio = postRatio;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("postId", getPostId())
            .append("postName", getPostName())
            .append("postSalary", getPostSalary())
            .append("postRatio", getPostRatio())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
